package com.kgc.ssm.mapper;

import com.kgc.ssm.entity.Contract;
import com.kgc.ssm.entity.ContractExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface ContractMapper {
    long countByExample(ContractExample example);

    int deleteByExample(ContractExample example);

    int deleteByPrimaryKey(Long id);

    int insert(Contract row);

    int insertSelective(Contract row);

    List<Contract> selectByExampleWithRowbounds(ContractExample example, RowBounds rowBounds);

    List<Contract> selectByExample(ContractExample example);

    Contract selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("row") Contract row, @Param("example") ContractExample example);

    int updateByExample(@Param("row") Contract row, @Param("example") ContractExample example);

    int updateByPrimaryKeySelective(Contract row);

    int updateByPrimaryKey(Contract row);
}